package com.jack.payment.entity.generate.sys;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.jack.payment.entity.common.CommonParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "基础页面路由, 以及路由事件")
@JsonInclude(value=JsonInclude.Include.NON_NULL)
public class SysResourceModel extends CommonParam implements Serializable {
    @Schema(description = "该路由属于上级那个路由")
    private Integer pid;
    @Schema(description = "下级是否还有路由")
    private String uiPath;
    @Schema(description = "未定")
    private String component;
    @Schema(description = "类型")
    private Integer type;
    @Schema(description = "状态")
    private Integer status;
    @Schema(description = "路由路劲 或 路由事件")
    private String code;
    @Schema(description = "几级路由")
    private Integer weight;
    @Schema(description = "跳转")
    private String redirect;
    @Schema(description = "附加的源数据")
    private String meta;
    @Schema(description = "是否包含")
    private Integer isHave;

}
